// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import index from '@/components/pages/Main'
import {
    Cell,
    CellGroup,
    Tabbar,
    TabbarItem,
    PullRefresh,
    Stepper,
    Tab,
    Tabs,
    Button,
    Row,
    Col,
    Swipe,
    SwipeItem,
    Lazyload,
    List,
    Field,
    NavBar
} from 'vant'

Vue.use(Cell).use(CellGroup).use(Tabbar).use(TabbarItem).use(Stepper).use(PullRefresh).use(Tab).use(Tabs).use(Field).use(NavBar).use(Button).use(Row).use(Col).use(Swipe).use(SwipeItem).use(Lazyload).use(List)


Vue.config.productionTip = true

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    render: h => h(index)
        // components: { App },
        // template: '<App/>'


})